<?php
//管理后台权限
$g_admin_authorize = array(
    'admin' => array(
        '_title' => '员工管理',
        'browse' => '浏览',
        'edit' => '编辑'
    ), 
    'member' => array(
        '_title' => '会员管理',
        'browse' => '浏览',
        'edit' => '编辑'
    ),
    'questionBank' => array(
        '_title' => '题库管理',
        'browse' => '浏览',
        'edit' => '编辑'
    ),
    'testResult' => array(
        '_title' => '测试结果',
        'browse' => '浏览',
        
    ),
    'publicClass' => array(
        '_title' => '公开课管理',
        'browse' => '浏览',
        'edit' => '编辑',
        'payFull' => '全额付款完成',
        'finish' => '课程完成',
    ),
    'formalClass' => array(
        '_title' => '正式课管理',
        'edit' => '编辑',
        'browse' => '浏览',
        'payFull' => '全额付款完成',
        'finish' => '课程完成',
    ),
    'expert' => array(
        '_title' => '专家管理',
        //'edit' => '编辑',
        'browse' => '浏览',
        'payFull' => '全额付款完成',
        'finish' => '课程完成',
    ),

);
//订单的状态
const ORDER_CLOSE = 0;
const ORDER_UNPAID = 1;
const ORDER_PAID_SUBSIST = 2;
const ORDER_PAID_FULL_PAYMENT = 3;
const CLASS_FINISH = 4;
const ORDER_FINISH = 5;
//课程类型 公开课 正式课程 专家课
const PUBLIC_CLASS = 1;
const FORMAL_CLASS = 2;
const EXPERT = 3;

